using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;

public class EnemyView : CombatantView
{
    [SerializeField] private TMP_Text attackText;
    public int AttackPower {  get; private set; }

    public void SetUp(EnemyData enemyData)
    {
        AttackPower=enemyData.AttackPower;
        SetupBase(enemyData.Health, enemyData.Image);
        UpdateAttackText();

    }
    private void UpdateAttackText()
    {
        attackText.text="ATK:"+AttackPower;
    }
}
